/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.fdm.tst.security;

import java.security.Principal;

/**
 *
 * @author fdm
 */
public class AstjUser implements Principal {
    
    private String id;
    private String displayName;
    private String email;

    @Override
    public String getName() {
        return getId();
    }

    /**
     * @return the id
     */
    public String getId() {
        return id;
    }

    /**
     * @param id the id to set
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * @return the displayName
     */
    public String getDisplayName() {
        return displayName;
    }

    /**
     * @param displayName the displayName to set
     */
    public void setDisplayName(String displayName) {
        this.displayName = displayName;
    }

    /**
     * @return the email
     */
    public String getEmail() {
        return email;
    }

    /**
     * @param email the email to set
     */
    public void setEmail(String email) {
        this.email = email;
    }
    
}
